clear 

use  "DyadicData.dta" 


 **** Main Models *****
 
* Table 5 - Dichotomous Model 

* Model 1
logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   

* Model 2 
logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut contiguity lagcap updatedally minorpower  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 if year > 1892 & year < 1956, robust		   
   		   
* Model 3 - Core Oneal and Russett Model * 
logit dispute2018 c.lagdemL lagdemH  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust 

* Model 4 - Core Oneal and Russett with Suffrage *
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  

* Model 5 - With Civil Liberties
  logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  

* Model 6 - With Civil Liberties, Truncated Time
  logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 if year > 1892 & year < 1956, robust  

* Model 7 - FE Dyad  
xtset dyadid 
  xtlogit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  updatedally  year lagcap  eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , fe 



**** Figure 4 ******
logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   
margins, at (lagjointautocracy = 1 lagjointMSdem = 0 lagmsdwsd = 0 lagmsdaud == 0 lagwsdaut == 0  ) post

logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   
margins, at (lagjointautocracy = 0 lagjointMSdem = 0 lagmsdwsd = 0 lagmsdaud == 1 lagwsdaut == 0  ) post
 
logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   
margins, at (lagjointautocracy = 0 lagjointMSdem = 0 lagmsdwsd = 0 lagmsdaud == 0 lagwsdaut == 1  ) post
  
logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   
margins, at (lagjointautocracy = 0 lagjointMSdem = 1 lagmsdwsd = 0 lagmsdaud == 0 lagwsdaut == 0  ) post

logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   
margins, at (lagjointautocracy = 0 lagjointMSdem = 0 lagmsdwsd = 1 lagmsdaud == 0 lagwsdaut == 0  ) post	   

logit dispute2018 i.lagjointautocracy i.lagjointMSdem i.lagmsdaud i.lagmsdwsd i.lagwsdaut  dependL s_un_glo contiguity updatedally  year distance distancex2 lagcap distancex3 eithernuclear jointnuclear minorpower peaceyears peaceyearsx2 peaceyearsx3 , robust		   
margins, at (lagjointautocracy = 0 lagjointMSdem = 0 lagmsdwsd = 0 lagmsdaud == 0 lagwsdaut == 0  ) post	   
  

  
******** Figure 5 **********

** Left Graph **
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
* Polity == 1
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 1 lagdemH == 1 laghighsuffdem == 0 )
* Polity == 2
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 2 lagdemH == 2 laghighsuffdem == 0 )
* Polity == 3
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 3 lagdemH == 3 laghighsuffdem == 0 )
* Polity == 4
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 4 lagdemH == 4 laghighsuffdem == 0 )
* Polity == 5
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 5 lagdemH == 5 laghighsuffdem == 0 )
* Polity == 6
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 6 lagdemH == 6 laghighsuffdem == 0 )
* Polity == 7
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 7 lagdemH == 7 laghighsuffdem == 0 )
* Polity == 8
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 8 lagdemH == 8 laghighsuffdem == 0 )
* Polity == 9
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 9 lagdemH == 9 laghighsuffdem == 0 )
* Polity == 10
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 10 lagdemH == 10 laghighsuffdem == 0 )


** Middle Graph ** 
*(Same process as graph above)
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 1 lagdemH == 1 laghighsuffdem == 0)
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 2 lagdemH == 2 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 3 lagdemH == 3 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 4 lagdemH == 4 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 5 lagdemH == 5 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 6 lagdemH == 6 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 7 lagdemH == 7 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 8 lagdemH == 8 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 9 lagdemH == 9 laghighsuffdem == 0 )
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 10 lagdemH == 10 laghighsuffdem == 0 )

** Right Graph **
*(Same as above)
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 1 lagdemH == 1 laghighsuffdem == 1)
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 2 lagdemH == 2 laghighsuffdem == 2 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 3 lagdemH == 3 laghighsuffdem == 3 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 4 lagdemH == 4 laghighsuffdem == 4 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 5 lagdemH == 5 laghighsuffdem == 5 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 6 lagdemH == 6 laghighsuffdem == 6 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 7 lagdemH == 7 laghighsuffdem == 7 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 8 lagdemH == 8 laghighsuffdem == 8 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 9 lagdemH == 9 laghighsuffdem == 9 )
margins, at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 10 lagdemH == 10 laghighsuffdem == 10 )



******** Figure 6 **********
* Value at Polity == 1
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 1 lagdemH == 1 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 1 lagdemH == 1 laghighsuffdem == 1) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	
*Value at Polity == 2
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 2 lagdemH == 2 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 2 lagdemH == 2 laghighsuffdem == 2) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 3 lagdemH == 3 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 3 lagdemH == 3 laghighsuffdem == 3) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 4
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 4 lagdemH == 4 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 4 lagdemH == 4 laghighsuffdem == 4) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 5 lagdemH == 5 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 5 lagdemH == 5 laghighsuffdem == 5) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 6 lagdemH == 6 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 6 lagdemH == 6 laghighsuffdem == 6) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 7 lagdemH == 7 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 7 lagdemH == 7 laghighsuffdem == 7) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 8 lagdemH == 8 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 8 lagdemH == 8 laghighsuffdem == 8) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 9 lagdemH == 9 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 9 lagdemH == 9 laghighsuffdem == 9) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 
*Value at Polity == 3
logit dispute2018 c.lagdemL##i.lagtruncjointsuffrage c.lagdemH i.lagtruncatleastonesuffrage c.laghighsuffdem laglowcivil  contiguity lagcap updatedally minorpower eithernuclear jointnuclear dependL s_un_glo  year distance distancex2  distancex3  peaceyears peaceyearsx2 peaceyearsx3 , robust  
margins, at (lagtruncjointsuffrage == 0 lagtruncatleastonesuffrage == 0 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 10 lagdemH == 10 laghighsuffdem == 0 )  ///
			at (lagtruncjointsuffrage == 1 lagtruncatleastonesuffrage == 1 eithernuclear == 0 jointnuclear == 0 contiguity == 0 minorpower == 0 updatedally == 0 lagdemL = 10 lagdemH == 10 laghighsuffdem == 10) post
		 nlcom (perc_inc: (_b[2._at] - _b[1._at]) / _b[1._at])	 








